<?php
/**
 * Created by PhpStorm.
 * User: dream
 * Date: 2018/8/19
 * Time: 22:04
 */

namespace App\Controllers;
use Swoft\Http\Server\Bean\Annotation\Controller;
use Swoft\Http\Server\Bean\Annotation\RequestMapping;

/**
 * Class IndexController
 * @package App\Controllers
 *
 * @Controller()
 */
class IndexController
{
    /**
     *
     * @RequestMapping("/")
     */
    public function index()
    {
        return ['hello','world'];
    }
}
